<script setup>
import {ref} from 'vue'
let count = ref(1);
function incr() {
  count.value++;
}
function decr() {
  count.value--;
}
</script>

<template>
  <div>
    <button @click="incr" class="boutton1">+1</button>
    <span v-text="count" class="text"></span>
    <button @click="decr" class="boutton1">-1</button>
  </div>
</template>

<style scoped>

</style>
